#ifndef IOSTREAMTESTFIXTURE_H_
#define IOSTREAMTESTFIXTURE_H_

#include <cppunit/extensions/HelperMacros.h>

#include <string>
#include <istream>
#include <ostream>
#include <sstream>

using namespace std;

class IOStreamTestFixture: public CppUnit::TestFixture {
public:
	void setUp();
	void tearDown();
protected:
	string getResult(const int resultSize);

	stringbuf * stimulsStreamBuffer;
	ostream * stimulsStream;
	stringbuf * resultsStreamBuffer;
	istream * resultsStream;
};

#endif /* IOSTREAMTESTFIXTURE_H_ */
